package com.sdx.console.rightRole.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import com.fasterxml.jackson.annotation.JsonIgnore;
import org.beetl.sql.core.annotatoin.*;
import org.apache.commons.lang3.StringUtils;
import com.ibeetl.admin.core.util.ValidateConfig;
import com.sdx.service.ConfigService;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import com.sdx.common.utils.Utils;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;

/* 
* 
* gen by Spring Boot2 Admin 2019-12-25
*/
@JsonSerialize(include=JsonSerialize.Inclusion.NON_NULL)
@Data
public class RightRole extends BaseEntity{

    //角色id
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AssignID
    private Integer roleId ;
	
    //角色名称
    private String roleName ;
	
    //角色说明
    private String roleMemo ;
	
    //1、会员VIP，2、机构，3、临时使用
    private Integer roleType ;
	
    //租户id
    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @AssignID
    private Integer tenantId ;
	

}
